$def with(id1,id2)
<html>
    <head>
        <title>index</title>
    </head>
    <body>
        $if id1 and id2:
            <p>Id1 is $id1, Id2 is $id2 .</P>
    <body>
</html>